package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.PurchasereturnsMapper;
import com.ten.jinxiancun.server.PurchasereturnsServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

//采购退货单
@Service
public class PurchasereturnsServerImpl implements PurchasereturnsServer {
    @Autowired
    PurchasereturnsMapper Purturn;

    @Override
    public List<Map<String, Object>> getAllPurTurnFind(Map<String, Object> map) {
        return Purturn.getAllPurTurn(map);
    }

    @Override
    public Integer countFind(Map<String, Object> map) {
        return Purturn.count(map);
    }
}
